﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NDataStructure
{
    /// <summary>
    /// Traversal type, used to specify to a data structure how you would like to enumerate it.
    /// </summary>
    public enum TreeTraversalType
    {
        /// <summary>
        /// A pre-order traversal.
        /// </summary>
        PreOrder,

        /// <summary>
        /// A post-order traversal.
        /// </summary>
        PostOrder,

        /// <summary>
        /// An in-order traversal.
        /// </summary>
        InOrder,

        /// <summary>
        /// A level-order traversal.
        /// </summary>
        LevelOrder
    }
}
